//noSecondMenu风格布局
.noSecondMenu {

  //表格最大宽度
  .t-table {
    // max-width: calc(100vw - 305px);
  }

  .t-layout.t-layout--with-sider>.t-layout {
    min-width: 1000px;
    flex: 1;
  }

  //  右侧内容区域
  .noSecondMenuRightContent {
    padding: 52px 24px 52px 24px;
    background-color: var(--color-bk10);

    .bg-wt {
      border-radius: 2px;

      .MH-716 {
        min-height: 662px;
      }

      .baseList {
        .formBox {
          padding: 20px 20px 12px 20px;
          height: auto;
          margin-bottom: 20px;
        }

        .tableBoxs {
          .newBox {
            margin-bottom: 20px;
          }
        }

        .tableBox {
          margin-bottom: 20px;
          padding: 20px 20px 24px 20px;
        }

        .t-table__header th:first-child,
        .t-table__body td:first-child {
          padding-left: 20px;
        }

        .t-table__header th:last-child {
          padding-right: 20px;
        }
      }
    }

  }

  //右侧头部导航
  .noSecondMenuNavImg {
    position: absolute;
    top: 16px;
    left: 24px;
    width: 268px;
    height: 21px;
  }

  //左侧内容区域
  .noSecondMenuLeftContent {
    width: 208px;

    .t-default-menu {
      border-radius: 0 30px 30px 0;
      width: 208px !important;

      .t-menu {
        padding-right: 0px;
        padding-left: 0px;
      }

      .t-menu__item:hover:not(.t-is-active):not(.t-is-opened):not(.t-is-disabled):not(.t-submenu__item) {
        background-color: transparent !important;
        color: var(--color-main);
      }
      .t-menu__item{

      }
      .t-menu__item.t-is-active {
        .t-menu__content {
          color: var(--color-main);
        }
        &:hover{
          .t-menu__content {
            color: var(--color-main);
          }
          .t-icon path{
            fill: var(--color-bk2);
          }
        }
      }

      .t-menu__logo {
        margin-top: 20px;

        .czri-side-nav-logo-tdesign-logo {
          padding-left: 50px;
          // padding-top: 25px;
          height: 40px;
        }

        .czri-side-nav-logo-t-logo {
          width: auto;
        }

        .logofull {
          margin-left: 0px;
        }
      }
    }

    //logo下侧个人信息区域
    .noSecondMenuBaseInfo {
      margin-bottom: 30px;

      .header-user-avatar {
        display: block;
        margin: 0 auto;
        margin-top: 24px;
        width: 84px;
        height: 84px;
      }

      .baseInfo {
        text-align: center;
        color: var(--color-font1);
        margin-top: 14px;

        .header-user-name {
          font-size: 14px;
          padding: 6px;
        }

        .spiltLine {
          // content: '';
          display: inline-block;
          background-color: var(--color-font1);
          height: 14px;
          width: 1px;
          margin: 0 5px 0 5px;
          position: relative;
          top: 1px;
        }

        .header-user-logout,
        .header-user-logout.btn-hover-active:hover {
          padding: 2px;

          .icon {
            position: relative;
            top: 1px;
          }
        }
      }
    }

    //箭头隐藏，间距调整
    .noSecondSubMenu {
      .t-fake-arrow {
        display: none;
      }

      .t-menu__item {
        padding-left: 47px;
        margin-bottom: 20px;
        height: 45px;
      }

      .t-menu__item.t-is-active:not(.t-is-opened) {
        background-color: transparent;
        color: var(--color-main);
      }

      .t-menu__item.t-is-active::before {
        content: '';
        display: block;
        position: absolute;
        z-index: -1;
        top: -33px;
        right: 0;
        background-image: url('@/assets/noSecondMenu-menu-hover.png');
        background-repeat: no-repeat;
        background-size: 180px 110px;
        background-position: center right;
        background-color: transparent !important;
        width: 180px;
        height: 110px;
      }
    }

    //下侧区域部分隐藏
    .navUserCont {
      border-top: none;

      .fx-sb {
        // align-items: baseline;
        position: relative;
      }

      .header-user-account {
        visibility: hidden;
      }

      .header-user-list {
        width: 32px;
        height: 32px;
        text-align: center;
        line-height: 32px;
        bottom: 12px;
        position: absolute;
        right: 15px;

        .t-icon {
          position: relative;
          left: 0px;
          top: 5px;
          width: 20px;
          height: 20px;
          vertical-align: initial;
          cursor: pointer;
        }
      }
    }
  }

  //折叠后左侧菜单栏样式调整
  .noSecondMenuLeftContent.czri-sidebar-compact {
    width: 64px;

    //折叠样式
    .t-is-collapsed {
      width: 64px !important;

      .navUserCont {
        margin-left: 13px;

        .header-user-logout {
          visibility: hidden;
        }

        .header-user-list {
          right: 18px;
          bottom: 12px;
        }
      }

      .t-menu__item {
        padding-left: 0px;
      }

      .noSecondMenuBaseInfo {
        margin-right: 6px;
        margin-bottom: 80px;

        .header-user-name {
          display: none;
        }

        .header-user-avatar {
          width: 32px;
          height: 32px;
          padding: 6px;
        }
      }
    }

    .noSecondSubMenu .t-menu__item {
      padding-left: 10px;
    }

    .t-menu__item.t-is-active::before {
      background-image: none !important;
      background-color: white !important;
      width: 48px !important;
      height: 36px !important;
      top: 5px;
      right: 9px;
      border-radius: 3px;
    }

    .t-menu__item:hover:not(.t-is-active):not(.t-is-opened):not(.t-is-disabled):not(.t-submenu__item) {
      background-color: transparent !important;
      color: var(--color-black);
    }

    .t-menu__item:hover::before {
      z-index: -1;
      background-image: none !important;
      background-color: white !important;
      width: 48px !important;
      height: 36px !important;
      border-radius: 3px;
      content: '';
      display: block;
      position: absolute;
      left: 7px;

    }

    .fx-sb {
      // flex-direction: column;
    }
  }

  .modeStyle {
    .noSecondSubMenu {
      .t-menu__item:hover {

        .t-menu__content {
          color: var(--color-white);
        }
        .t-icon path {
          fill: var(--color-white);
        }
      }
    }

  }
}
